const users = [
    { id: 1, 
      username: '张三',
    },
    { id: 2, 
      username: '张四',
    },
    { id: 3, 
      username: '张五',
    }
];
console.log(users.find(user => user.id === 1));

